﻿$(document).ready(function () {
    $("#sl_mail_type").on("change", function () {
        var type = document.getElementById("sl_mail_type").value;
        var xhttp;
        xhttp = new XMLHttpRequest();
        xhttp.onreadystatechange = function () {
            if (xhttp.readyState == 4 && xhttp.status == 200) {
                document.getElementById("letter_area").innerHTML = xhttp.responseText;
            }
        };
        xhttp.open("GET", "../ajax/asp/loadcaptcha_Feedback.aspx", true);
        xhttp.send();
    });
});